package com.course.service;

import com.course.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 后台用户角色表 服务类
 * </p>
 *
 * @author author
 * @since 2022-09-16
 */
public interface IRoleService extends IService<Role> {

    /*
    * sqlInfo (1,2,34),(1,2,35)
    * */
    Boolean linkPermission(Long role_id,Long permission_id);

    /*
    * sqlIds 都号分割的 roleid
    * */
    Boolean unLinkPermission(String sqlIds);
}
